/*
 * AllConstants.h
 *
 *  Created on: Nov 13, 2010
 *      Author: nobal
 */

#ifndef ALLCONSTANTS_H_
#define ALLCONSTANTS_H_
#define LS_2_LS_GET_CHUNK "0"
#define LS_2_CS_HELLO "1"
#define MSG_CHUNK_INFO_ADV "2" //Advertise chunks Info to CS by LS
#define LS_2_CS_REQ "3"
#define CS_2_LS_REP "4" //Response to LS by cs
#define LS_2_CS_BYE "5"
#define CLIENT_ST_NAME "6"
#define LC_FILE_CL   "7"
#define CS_2_LS_FL   "8"
#define LS_2_LS_NAME "9"
#define CL_2_LS_GET_CHUNK "10"


#define MSG_SEPARATOR "|"

//#define LOCALFOLDER     "files"
//#define SHAREPATH       "/home/lycdragon/eclipse/osproject2/files/"
//#define CLIENTPATH		"/home/lycdragon/eclipse/osproject2/clientfolder/"
//#define CLIENTFOLDER    "clientfolder"
#define PROTOPORT       5193            /* default protocol port number */
//#define LOCALSERVERPORT 6000
//#define PORTFORCLINE	7000
#define QLEN            6               /* size of request queue        */
#define FAIL			-1
#define MAXDATASIZE     1000
#define MAXFILESIZE     1000


#endif /* ALLCONSTANTS_H_ */
